package cn.dcp.muck.service.impl;

import cn.dcp.muck.common.service.CrudService;
import cn.dcp.muck.entity.SysLog;
import cn.dcp.muck.mapper.SysLogMapper;
import cn.dcp.muck.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysLogServiceImpl extends CrudService<SysLogMapper, SysLog> implements SysLogService {
	@Autowired
	private SysLogMapper sysLogMapper;

    @Override
    public SysLog queryObject(String id){
        return sysLogMapper.get(id);
    }

	@Override
	public List<SysLog> queryList(Map<String, Object> map){
		return sysLogMapper.queryList(map);
	}

	@Override
	public void deleteById(String id){
		sysLogMapper.deleteById(id);
	}
	
	@Override
	public void delete(SysLog sysLog){
		sysLogMapper.delete(sysLog);
	}
	
}
